﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Admin.master" CodeFile="Default.aspx.cs" Inherits="Admin_Default" %>

<asp:Content runat="server" ContentPlaceHolderID="meta">
    <meta name="description" content="Index Admin" />
    <meta name="keywords" content="Administrator" />
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="title">Page index Admin</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="head">
    <!-- Link shortcut icon-->
        <link rel="shortcut icon" type="image/ico" href="images/favicon2.html" /> 
        <!-- Link css-->
        <link rel="stylesheet" type="text/css" href="css/zice.style.css"/>
        <link rel="stylesheet" type="text/css" href="css/icon.css"/>
        <link rel="stylesheet" type="text/css" href="css/ui-custom.css"/>
        <link rel="stylesheet" type="text/css" href="css/timepicker.css"  />
        <link rel="stylesheet" type="text/css" href="components/colorpicker/css/colorpicker.css"  />
        <link rel="stylesheet" type="text/css" href="components/elfinder/css/elfinder.css" />
        <link rel="stylesheet" type="text/css" href="components/datatables/dataTables.css"  />
        <link rel="stylesheet" type="text/css" href="components/validationEngine/validationEngine.jquery.css" />
         
        <link rel="stylesheet" type="text/css" href="components/jscrollpane/jscrollpane.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="components/fancybox/jquery.fancybox.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="components/tipsy/tipsy.css" media="all" />
        <link rel="stylesheet" type="text/css" href="components/editor/jquery.cleditor.css"  />
        <link rel="stylesheet" type="text/css" href="components/chosen/chosen.css" />
        <link rel="stylesheet" type="text/css" href="components/confirm/jquery.confirm.css" />
        <link rel="stylesheet" type="text/css" href="components/sourcerer/sourcerer.css"/>
        <link rel="stylesheet" type="text/css" href="components/fullcalendar/fullcalendar.css"/>
        <link rel="stylesheet" type="text/css" href="components/Jcrop/jquery.Jcrop.css"  />
   
        
        <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="components/flot/excanvas.min.js"></script><![endif]-->
        
        <script type="text/javascript" src="js/jquery.min.js"></script>
        <script type="text/javascript" src="components/ui/jquery.ui.min.js"></script> 
        <script type="text/javascript" src="components/ui/jquery.autotab.js"></script>
        <script type="text/javascript" src="components/ui/timepicker.js"></script>
        <script type="text/javascript" src="components/colorpicker/js/colorpicker.js"></script>
        <script type="text/javascript" src="components/checkboxes/iphone.check.js"></script>
        <script type="text/javascript" src="components/elfinder/js/elfinder.full.js"></script>
        <script type="text/javascript" src="components/datatables/dataTables.min.js"></script>
        <script type="text/javascript" src="components/scrolltop/scrolltopcontrol.js"></script>
        <script type="text/javascript" src="components/fancybox/jquery.fancybox.js"></script>
        <script type="text/javascript" src="components/jscrollpane/mousewheel.js"></script>
        <script type="text/javascript" src="components/jscrollpane/mwheelIntent.js"></script>
        <script type="text/javascript" src="components/jscrollpane/jscrollpane.min.js"></script>
        <script type="text/javascript" src="components/spinner/ui.spinner.js"></script>
        <script type="text/javascript" src="components/tipsy/jquery.tipsy.js"></script>
        <script type="text/javascript" src="components/editor/jquery.cleditor.js"></script>
        <script type="text/javascript" src="components/chosen/chosen.js"></script>
        <script type="text/javascript" src="components/confirm/jquery.confirm.js"></script>
        <script type="text/javascript" src="components/validationEngine/jquery.validationEngine.js" ></script>
        <script type="text/javascript" src="components/validationEngine/jquery.validationEngine-en.js" ></script>
        <script type="text/javascript" src="components/vticker/jquery.vticker-min.js"></script>
        <script type="text/javascript" src="components/sourcerer/sourcerer.js"></script>
        <script type="text/javascript" src="components/fullcalendar/fullcalendar.js"></script>
        <script type="text/javascript" src="components/flot/flot.js"></script>
        <script type="text/javascript" src="components/flot/flot.pie.min.js"></script>
        <script type="text/javascript" src="components/flot/flot.resize.min.js"></script>
        <script type="text/javascript" src="components/flot/graphtable.js"></script>

        <script type="text/javascript" src="components/uploadify/swfobject.js"></script>
        <script type="text/javascript" src="components/uploadify/uploadify.js"></script>        
        <script type="text/javascript" src="components/checkboxes/customInput.jquery.js"></script>
        <script type="text/javascript" src="components/effect/jquery-jrumble.js"></script>
        <script type="text/javascript" src="components/filestyle/jquery.filestyle.js" ></script>
        <script type="text/javascript" src="components/placeholder/jquery.placeholder.js" ></script>
		<script type="text/javascript" src="components/Jcrop/jquery.Jcrop.js" ></script>
        <script type="text/javascript" src="components/imgTransform/jquery.transform.js" ></script>
        <script type="text/javascript" src="components/webcam/webcam.js" ></script>
		<script type="text/javascript" src="components/rating_star/rating_star.js"></script>
		<script type="text/javascript" src="components/dualListBox/dualListBox.js"  ></script>
		<script type="text/javascript" src="components/smartWizard/jquery.smartWizard.min.js"></script>
        <script type="text/javascript" src="js/jquery.cookie.js"></script>
        <script type="text/javascript" src="js/zice.custom.js"></script>  

</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Maincontent">
    <div class="onecolumn" >
        <div class="header"> <span ><span class="ico gray home"></span> Site Data manager</span> </div>
        <div class="clear"></div>
        <div class="content" >
            <div class="boxtitle min">website status</div>
            <div  class="grid2">
                <table class="chart-pie" style="width : 100%;">
                    <thead>
                        <tr>
                            <th></th>
                            <th style="color : #aed741;">Product Review</th>
                            <th style="color : #bedd17;">Webboard</th>
                            <th style="color : #c3e171;">Article</th>
                            <th style="color : #85b501;">Other</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th></th>
                            <td>75</td>
                            <td>10</td>
                            <td>9</td>
                            <td>6</td>
                        </tr>
                    </tbody>
                </table>
                <div class="chart-pie-shadow" ></div>
                <div class="chart_title"><span>Pages is popular  in your web</span></div>
            </div>
            <div  class="grid2">
                <div class="onecolumn">
                <div class="header"><span><span class="ico gray record"></span> Welcome  to site</span></div>
                <br class="clear"/>
                <div class="content">
                    <div class="boxtitle min"> Welcome to site ,or your information data </div>
                    <p class="overflow" style="height:165px"><asp:Label runat="server" ID="lblDescription"></asp:Label></p>
                </div>
            </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    
    <!-- Statisc -->
    <div class="onecolumn" >
        <div class="header"><span ><span class="ico gray stats_lines"></span>Site Statistics</span></div>
        <div class="clear"></div>
        <div class="content" > <br  class="clear"/>
            <div class="grid1 rightzero">
                <div class="shoutcutBox"> <span class="ico color chat-exclamation"></span> <strong><asp:Label runat="server" ID="lblOrder"></asp:Label></strong> <em>pending orders</em> </div>
                <div class="breaks"><span></span></div>
                <!-- // breaks -->
                <div class="shoutcutBox" > <span class="ico color item"></span> <strong><asp:Label runat="server" ID="lblProduct"></asp:Label></strong> <em> Total product in shop</em> </div>
                <div class="shoutcutBox"> <span class="ico color group"></span> <strong>4,452</strong> <em>Total Member</em> </div>
                <div class="shoutcutBox"> <span class="ico color emoticon_grin"></span> <strong>152</strong> <em>New  Register </em> </div>
                <div class="breaks"><span></span></div>
                <!-- // breaks -->
                <div class="shoutcutBox"> <span class="ico color emoticon_in_love"></span> <strong>359</strong> <em>Today view pages</em> </div>
                <div class="shoutcutBox last"> <span class="ico color group"></span> <asp:Label runat="server" Text="" ID="lblUser"></asp:Label> <em>Total Member </em> </div>
            </div>
            <div class="grid3">
                <div  style="width:100%;height:415px; margin-left:25px">
                    <table class="chart" style="width : 100%;">
                        <thead>
                            <tr>
                                <th width="10%"></th>
                                <th width="25%" style="color : #bedd17;">Demo</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <th>1</th>
                                <td>700</td>
                            </tr>
                            <tr>
                                <th>2</th>
                                <td>500</td>
                            </tr>
                            <tr>
                                <th>3</th>
                                <td>650</td>
                            </tr>
                            <tr>
                                <th>4</th>
                                <td>400</td>
                            </tr>
                            <tr>
                                <th>5</th>
                                <td>650</td>
                            </tr>
                            <tr>
                                <th>6</th>
                                <td>750</td>
                            </tr>
                            <tr>
                                <th>7</th>
                                <td>550</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="column_left">

		<div class="onecolumn">
            <div class="header"><span><span class="ico gray notepad"></span> Last Contact</span></div>
            <br class="clear"/>
            <div class="content tableName">
                <table class="display data_table_contact" >
                    <thead>
                        <tr>
                            <th width="224" ><div style="text-align:left; margin-left:10px" >Topic </div></th>
                            <th width="195" ><div style="text-align:right; " >Date </div></th>
                        </tr>
                    </thead>
                    <tbody>
                        <% foreach (Contact item in contacts)
                           {
                               %>
                                <tr>
                                    <td ><div class="msg">
                                            <div class="msg_icon new"></div>
                                            <div class="msg_topic"><%= Library.CatChuoi(item.Title,25) %></div>
                                        </div></td>
                                    <td ><div class="msg_date" ><%= item.DateStart.ToString("dd-MM-yyyy") %></div></td>
                                </tr>
                           <%} %>

                    </tbody>
                </table>

			</div>
        </div>

		</div>
        
        <div class="column_right" >

			<div class="onecolumn">
                <div class="header"><span><span class="ico gray access_point"></span> News lastest</span></div>
                <br class="clear"/>
                <div class="content">
                    <div id="news_update" style="position: relative;" >
                        <ul style="position: absolute; margin: 0pt; padding: 0pt; top: 0px; width: 100%;">
                            <% foreach (News item in news)
                               {%>
                                   <li>
                                        <div class="temp_news"><img src="<%= ResolveUrl("~/")+item.Image %>" alt="<%= item.Title %>" /></div>
                                        <div class="detail_news">
                                            <div class="boxtitle min" > <%= item.Title %></div>
                                            <p><%= Library.CatChuoi(item.Description,30)%></p>
                                            <span class="datepost"><%= item.DateStart %></span><span class="morelink"><a href="" class="red">more</a></span> </div>
                                        <br class="clear"/>
                                    </li>
                               <%} %>
                        </ul>
                    </div>
                </div>
            </div>

            

			</div>

</asp:Content>
